package JAVA1114;

class three {
    public String name;
    public int age;
    public three(String name,int age){
        this.name = name;
        this.age = age;
        System.out.println("构造方法执行");
    }
    {
        System.out.println("实例代码块执行");
    }
    static{
        System.out.println("静态代码块执行");
    }
}
class TestD{
    public static void main(String[] args) {
        three d = new three("hanmeimei",18);
        System.out.println("==========================");
        three H = new three("gaobo",20);
    }
}
